﻿<Project Sdk="Microsoft.NET.Sdk">

    <PropertyGroup>
        <PackageId>FluentFTP_Lanver</PackageId>
        <Title>FluentFTP_Lanver</Title>
        <Description>FTP и FTPS клиент для .NET &amp; .NET Standard.</Description>
        <Authors>Robin Rodricks, FluentFTP Contributors, Ilvivets Iaroslav</Authors>
        <PackageProjectUrl>https://hub.mos.ru/ilvivets/fluentftp_lanver</PackageProjectUrl>
        <Copyright>Copyright (c) 2015 Robin Rodricks and FluentFTP Contributors</Copyright>
        <PackageTags>ftp</PackageTags>
        <DocumentationFile>bin\$(Configuration)\$(TargetFramework)\FluentFTP.xml</DocumentationFile>
        <SignAssembly>True</SignAssembly>
        <AssemblyOriginatorKeyFile>sn.snk</AssemblyOriginatorKeyFile>
        <Version>50.1.0</Version>
        <PackageLicenseExpression>MIT</PackageLicenseExpression>
        <PackageIcon></PackageIcon>
        <AllowUnsafeBlocks>True</AllowUnsafeBlocks>
        <LangVersion>10.0</LangVersion>
    </PropertyGroup>

    <PropertyGroup>
        <TargetFrameworks>net5.0;net6.0;net462;net472;netstandard2.0;netstandard2.1</TargetFrameworks>
        <Platforms>AnyCPU;x64</Platforms>
        <PackageReadmeFile></PackageReadmeFile>
        <RepositoryUrl>https://hub.mos.ru/ilvivets/fluentftp_lanver</RepositoryUrl>
        <RepositoryType>git</RepositoryType>
        <AssemblyName>$(MSBuildProjectName)_Lanver</AssemblyName>
        <Company>$(Authors), Lanver</Company>
        <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
    </PropertyGroup>

    <ItemGroup>
        <None Include="..\LICENSE.TXT">
            <Pack>True</Pack>
            <PackagePath></PackagePath>
        </None>
    </ItemGroup>

    <PropertyGroup Condition="'$(Configuration)'=='Release'">
        <GeneratePackageOnBuild>True</GeneratePackageOnBuild>
    </PropertyGroup>

    <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)'=='Release' And '$(TargetFramework)'=='net462'">
        <Exec Command="copy /Y &quot;$(ProjectDir)bin\Release\net462\FluentFTP.dll&quot; &quot;$(SolutionDir)Powershell\FluentFTP.dll&quot;" />
    </Target>

</Project>
